package com.dashu.park.controller.core;

import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @Author xys
 * @Date 2020/11/17 15:21
 */

@RequestMapping("inside/operate/user")
@RestController
@Slf4j
@Api(value = "inside/park/user", tags = {"运营服务接口"}, description = "服务内部")
public class CoreController {

//        @Autowired
//    private UserService userService;
//    @Autowired
//    RestTemplate restTemplate;

//    @PostMapping("/login")
//    @ApiOperation(value = "用户登录", notes = "首页用户登录")
//    public ResultBean<UserDTO> login(@RequestBody @Validated LoginUserVo loginUserVo){
//        return new ResultBean<>(1,"首页用户登录",userService.login(loginUserVo.getUserName(),loginUserVo.getPassword()));
//    }
//
//    @PostMapping("/updataPass")
//    @ApiOperation(value = "用户修改密码", notes = "用户修改密码")
//    public ResultBean<Boolean> updataPass(@RequestBody @Validated UpdataUserVo updataUserVo){
//        return  new ResultBean<>(1,"用户修改密码",userService.updataPass(updataUserVo));
//
//    }
}
